package mianyang.zhangsan.com.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("s_course")
public class Course {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    @TableField("teacher_id")
    private Integer teacherId;
    @TableField("course_date")
    private String courseDate;
    @TableField("selected_num")
    private Integer selectedNum;
    @TableField("max_num")
    private Integer maxNum;
    private String info;
}
